import request from '@/utils/request'

//报废申请接口
export const wasteApplyNum = () => {
  return request({
    url: '/applyWaste/countApplyWaste',
    method: 'post'
  })
}

//领取申请接口
export const lingyongApplyNum = (data) => {
  return request({
    url: '/applyTake/getCount',
    method: 'post',
    data: data
  })
}

//采购申请接口
export const buyApplyNum = () => {
  return request({
    url: '/approval/myapprovalnum',
    method: 'get'
  })
}

//劳保用品种类数量
export const cateNum = () => {
  return request({
    url: '/api/count/procate',
    method: 'get'
  })
}

//劳保仓库余量
export const restNum = () => {
  return request({
    url: '/api/count/nums',
    method: 'get'
  })
}

//劳保用品批次
export const batchNum = () => {
  return request({
    // url: '/api/count/waresNums',
    // method: 'get'
  })
}

//劳保预警
export const warningTable = () => {
  return request({
    // url: '/api/count/waresNums',
    // method: 'get'
  })
}
export const batchMoney = () => {
  return request({
    url: '/batch/elist',
    method: 'get'
  })
}